<link href="../addons/jy_commission/css/style.css?v=201705251730" rel="stylesheet">
<style>
.fui-tab a{
    color: #eee;
}
.fui-tab:after {
    height: 0;
    background: none;
}
.fui-tab.fui-tab-success a.active {
    color: #fff;
	font-weight:bold;
}
.banyuan{
	padding:0.5rem;
	height: 7rem;
	border-radius: 7rem 7rem 0 0;
	border: 4px solid #f60;
}
</style>
<div class="fui-page fui-page-current page-commission-down">
    <div class="fui-content">
      <div style="background: {{main.syscolor||'#05c175'}};padding:0.5rem;margin-top:0;padding-bottom:1.6rem;height:5rem">
			<div class="fui-cellone" style="padding:0;padding-top:0.5rem">
				<a class="fe-floatback" style="position: absolute;top:0.35rem;color:#fff" ng-click="goback();">
					<i class="icon icon-back" style="font-size:1rem"></i>
				</a>
				<div class="fui-cellone-text c" style="color:#fff">{{pagedata.setting.tagent || '旗下商户'}}</div>
			</div>
		</div>
		<div style="padding:0.5rem;margin-top:-2.3rem">
		 <div class="fui-cell-group radius" style='margin-top:0px;'>
			<div class='fui-cell-title' style='padding:1rem 3rem;padding-bottom:0'>
				<div class="banyuan c">
					<div style="font-size:0.65rem;padding-top:0.3rem"><span class="syscolor">●</span> 招商数</div>
					<div>{{pagedata.member.merchnum || '0.00'}}</div>
					<div style="font-size:0.65rem;padding-top:0.6rem"><span class="syscolor">●</span> 订单量</div>
					<div class="bold" style="font-size:1rem">{{pagedata.ordernum || '0.00'}}</div>
				</div>
				<div style='background:#fff;height:1.2rem;margin-top:-1rem'></div>
			</div>
			<div class="fui-icon-group noborder  col-3" style="padding-top:0;margin-top:-1.3rem;padding-bottom:0.5rem">
				<div class="fui-icon-col-sm external" style="margin:0">
								<div>
									<div class=" bold syscolor" style="line-height:1.6rem;font-size:0.8rem">{{pagedata.totalday || '0.00'}}</div>
									<div class="subtitle" style="font-size:0.7rem;">今日业绩</div>
								</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
								<div>
									<div class=" bold syscolor" style="line-height:1.6rem;font-size:0.8rem">{{pagedata.totallastday || '0'}}</div>
									<div class="subtitle" style="font-size:0.7rem;">昨日业绩</div>
								</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
								<div>
									<div class=" bold syscolor" style="line-height:1.6rem;font-size:0.8rem">{{pagedata.commission_total || '0.00'}}</div>
									<div class="subtitle" style="font-size:0.7rem;">分润收益</div>
								</div>
					</div>
			</div>
        </div>
        <div  class="fui-list-group" id="container" >
		<div ng-repeat="item in pagedata.list" class="fui-list" style="height: 3.5rem">
			<div class="fui-list-media">
				<img ng-src="{{tomedia(item.member.avatar) ||'../core/resource/images/nopic.jpg'}}" class="round" style="width:2rem;height:2rem">
			</div>
			<div class="fui-list-inner">
				<div class="row">
				      <div class="row-text" >					 
					  <i ng-if="item.is_agent" class="icon icon-star text-danger"></i>
					 {{item.member.nickname}}
				      </div>
				</div>
				<div ng-if="item.is_agent !=1" class="subtitle">
				    注册时间:{{item.jointime}}
				</div>
			</div>
			<div ng-if="item.is_agent" class="row-remark" style="min-width:3rem;font-size:0.6rem">
				<p>{{item.member_num}}个成员</p>
			</div>
			<div ng-if="!item.is_agent" class="row-remark" style="min-width:3rem;font-size:0.6rem">
				<p>消费: {{item.moneycount||'0.00'}}元</p>
				<p>{{item.ordercount}}个订单</p>

			</div>
		</div>
		</div>
		<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty' >
			<i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何数据</p>
		</div>
	</div>
    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_mzhaoshang/down/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_mzhaoshang/down/list/',true);
}
</script>

